package utils;

public class RTPPortManager {
    private static int clientPortPointer = 50000;
    private static int serverPortPointer = 50100;

    public static synchronized String getClientPort(){
        return clientPortPointer++ + "-" + clientPortPointer++;
    }

    public static synchronized String getServerPort(){
        return serverPortPointer++ + "-" + serverPortPointer++;
    }
}
